Redo CSS style printing
authorMatthias Clasen <mclasen@redhat.com>
Sun, 3 Jan 2016 20:34:08 +0000 (15:34 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 3 Jan 2016 20:36:48 +0000 (15:36 -0500)
commit2e921691d97c203e172cddd18aead9eb90904770
tree1b520c89e048225fd5a2875e297f231a9743bd33
parentd0e648d4f67ae485727c0452921c18f7642b80de
Redo CSS style printing

Drop the custom style printing implementation in gtkcssnode.c and
instead reuse the existing gtk_css_style_print function, extending
it a bit to suit our needs.

Instead of computing values, just recognize initial values by
having no CSS section. Also do away with the show-initial flag, and
just always filter out initial values. The flag can come back when
it is needed.
gtk/gtkcssnode.c
gtk/gtkcssstyle.c
gtk/gtkcssstyleprivate.h
gtk/gtkstylecontext.c
gtk/gtkstylecontext.h